<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
<div class="row col-sm-12">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>角色管理</h5>
            <div class="ibox-tools">
                <a href="javascript:add()" >
                    <i class="fa fa-plus"></i>新增
                </a>
                <a href="javascript:batchRemove()" >
                    <i class="fa fa-trash-o"></i>删除
                </a>
            </div>
        </div>
        <div class="ibox-content">

            <div th:include="include :: editor"></div>


            <div th:include="include :: imageUpload"></div>



            <div class="table-responsive">
                <table class="bootstrap-table" data-mobile-responsive="true"
                       data-sort-name="role_sort" data-sort-order="asc">
                </table>
            </div>
        </div>
    </div>
</div>
<div th:include="include :: footer"></div>
<script src="../static/reasahi/js/ry-table.js?v=1.1.6" th:src="@{/reasahi/js/ry-table.js?v=1.1.6}"></script>
<script src="/reasahi/system/role/role.js" th:src="@{/reasahi/system/role/role.js}"></script>
<script th:inline="javascript">
    var editFlag = [[${@permissionService.hasPermi('system:role:edit')}]];
    var removeFlag = [[${@permissionService.hasPermi('system:role:remove')}]];
</script>
</body>
</html>